package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.FamilyMemberElder;

import com.zzyl.nursing.domain.PageQuery;
import com.zzyl.nursing.dto.BindFamilyMemberDTO;
import com.zzyl.nursing.dto.HealthDataDayDto;
import com.zzyl.nursing.dto.HealthDataDto;
import com.zzyl.nursing.vo.*;

import java.util.List;

/**
 * 家属-老人多对多中间Service接口
 * 
 * @author alexis
 * @date 2025-10-26
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder>
{
    /**
     * 绑定家人
     * @param bindFamilyMemberDTO
     */

    void postFamilyMember(BindFamilyMemberDTO bindFamilyMemberDTO);

    /**
     *查询家人列表
     * @return
     */
    List<FamilyMemberListVO> getFamilyListByUserId();

    /**
     * 查询家人列表(分页)
     * @param pageQuery
     * @return
     */
    List<FamilyMemberElderpageVo> getFamilyMemberListByPage(PageQuery pageQuery);

    /**
     * 健康数据查询
     * @param healthDataDto
     * @return
     */
    HealthDataVO healthData(HealthDataDto healthDataDto);

    List<HealthVo> healthDayData(HealthDataDayDto healthDataDayDto);

    List<HealthWeekVo> healthWeekData(HealthDataDayDto healthDataDayDto);
}
